from docx import Document
import os



script_dir = os.path.dirname(os.path.abspath(__file__))
file_name = os.path.join(script_dir, "员工1_工资调整通知.docx")
doc=Document(file_name)
all_paragraphs = doc.paragraphs
for p in all_paragraphs:
    print(p.text)
   